πŸ•ΈοΈ Ada Research Browser

tasks.md
← Back

Tasks: CI/CD Pipeline and Living Dashboard

Input: Design documents from /specs/005-ci-cd-dashboard/ Prerequisites: plan.md (required), spec.md (required), research.md, data-model.md, contracts/

Organization: Tasks are grouped by user story to enable independent implementation and testing of each story.

Format: [ID] [P?] [Story] Description

Path Conventions


Phase 1: Setup (Shared Infrastructure)

Purpose: Project initialization and workflow directory structure


Phase 2: Foundational (Blocking Prerequisites)

Purpose: Core scripts and shared components that ALL user stories depend on

⚠️ CRITICAL: No user story work can begin until this phase is complete

Checkpoint: Foundation ready - user story implementation can now begin


Phase 3: User Story 1 - PR Validation Feedback (Priority: P1) 🎯 MVP

Goal: Automated lint, syntax-check, and YAML validation on every PR with clear status checks

Independent Test: Open a PR with intentional lint errors, verify status check fails, fix errors, verify status check passes

Implementation for User Story 1

Checkpoint: PR validation workflow functional - developers see lint/syntax/yaml status on PRs


Phase 4: User Story 2 - Live Compliance Dashboard (Priority: P1) 🎯 MVP

Goal: Dashboard auto-deploys to GitHub Pages after merge to main, showing SPRS score and compliance status

Independent Test: Merge to main, wait for workflow, navigate to GitHub Pages URL, verify dashboard displays

Implementation for User Story 2

Checkpoint: Dashboard auto-deploys on merge to main - stakeholders can view compliance posture


Phase 5: User Story 3 - Generated Documentation Access (Priority: P2)

Goal: Audience-specific documentation (PI guide, researcher quickstart, etc.) accessible on GitHub Pages

Independent Test: Navigate to docs section on GitHub Pages, verify all 5 audience guides are accessible with glossary links

Implementation for User Story 3

Checkpoint: All 5 audience-specific documents accessible on GitHub Pages


Phase 6: User Story 4 - README Status Badges (Priority: P2)

Goal: README displays CI status, SPRS score, and last assessment badges that update automatically

Independent Test: View README on GitHub, verify badges show current values, trigger CI, verify badges update

Implementation for User Story 4

Checkpoint: README badges reflect current CI status and compliance score


Phase 7: User Story 5 - Branch Protection Enforcement (Priority: P2)

Goal: Main branch requires CI pass and approval before merge, no direct pushes allowed

Independent Test: Attempt to merge PR with failing CI or without approval, verify GitHub blocks merge

Implementation for User Story 5

Checkpoint: Branch protection enforces code quality gates on main branch


Phase 8: User Story 6 - Nightly Assessment Run (Priority: P3)

Goal: Scheduled workflow runs compliance assessment nightly and updates dashboard

Independent Test: Wait for scheduled run (or trigger manually), verify dashboard updates with new assessment data

Implementation for User Story 6

Checkpoint: Nightly assessment runs automatically and updates dashboard


Phase 9: Polish & Cross-Cutting Concerns

Purpose: Documentation, cleanup, and validation


Dependencies & Execution Order

Phase Dependencies

User Story Dependencies

Within Each User Story

Parallel Opportunities


Parallel Example: User Story 1 (PR Validation)

# After T008 (workflow file created), these can run in parallel:
Task: "T010 [P] [US1] Add syntax-check job to ci.yml"
Task: "T011 [P] [US1] Add yaml-validation job to ci.yml"

Implementation Strategy

MVP First (User Stories 1 + 2)

  1. Complete Phase 1: Setup
  2. Complete Phase 2: Foundational (CRITICAL - blocks all stories)
  3. Complete Phase 3: User Story 1 (PR Validation)
  4. Complete Phase 4: User Story 2 (Dashboard Deployment)
  5. STOP and VALIDATE: Test both stories independently
  6. Deploy/demo if ready - this is the core MVP

Incremental Delivery

  1. Complete Setup + Foundational β†’ Foundation ready
  2. Add US1 + US2 β†’ Test independently β†’ Deploy/Demo (MVP!)
  3. Add US3 (Documentation) β†’ Test independently β†’ Deploy
  4. Add US4 (Badges) β†’ Test independently β†’ Deploy
  5. Add US5 (Branch Protection) β†’ Configure and verify
  6. Add US6 (Nightly) β†’ Test independently β†’ Deploy
  7. Each story adds value without breaking previous stories

Parallel Team Strategy

With multiple developers:

  1. Team completes Setup + Foundational together
  2. Once Foundational is done:
  3. Developer A: User Story 1 (PR Validation)
  4. Developer B: User Story 2 (Dashboard)
  5. After US1 + US2 complete:
  6. Developer A: User Story 5 (Branch Protection - needs US1)
  7. Developer B: User Story 3 + 4 (Docs + Badges - needs US2)
  8. After US2 complete:
  9. Either developer: User Story 6 (Nightly)

Notes